const md5 = require('md5');


class MD5Util {
    constructor(){

    }

    /**
     * 
     * @param {String} signStr 
     * @param {String} sign 
     */
    verifySign(signStr, sign){
        let s = md5(signStr).toUpperCase();
        let s2 = sign.toUpperCase();
        return s === s2;
    }
}

let md5Util = new MD5Util();
module.exports = md5Util;